package com.xbongbong.paas.pojo.repair.dto;

import com.xbongbong.paas.pojo.RepairBaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 吴峰
 * @date 2023/03/21 10:05
 */
@Getter
@Setter
@ToString
public class RepairCustomerDTO extends RepairBaseDTO {

    @NotEmpty(message = "公司id不能为空")
    private String corpid;

    @NotNull(message = "新表单id不能为空")
    private Long formId;

    @NotEmpty(message = "旧表单id不能为空")
    private List<Long> oldFormId;

    private Integer maxNum;
}
